package com.kusen.springsource.aop;

import org.springframework.stereotype.Component;

/**
 * 被监控的目标方法
 */
@Component
public class HelloService {
    public HelloService(){
		System.out.println(".......");
	}
	public String sayHello(String name){
		String url="hello:"+name;
		System.out.println(url);
		int length=name.length();
		return url+"---"+length;

	}
}
